serial: s5p: get the port id number from the alias of the device node
authorThomas Abraham <[email protected]>
Sat, 23 Apr 2016 16:48:10 +0000 (22:18 +0530)
committerMinkyu Kang <[email protected]>
Wed, 25 May 2016 01:00:19 +0000 (10:00 +0900)
commit5ab6c4df27c9188251ff43a536c90ede57ba48fe
tree3c0b180d10114956584d45ee7c9db1f50774ea16
parent166097e8775343898cab84f1f23b4aacb35783db
serial: s5p: get the port id number from the alias of the device node

The port id, if not specified in the device node, can be obtained from
the alias of the device node listed in the aliases node.

Cc: Minkyu Kang <[email protected]>
Signed-off-by: Thomas Abraham <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
drivers/serial/serial_s5p.c